package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.dto.ServiceQueryDto;
import com.csun.cmny.provider.model.domain.OmcServiceFirstLevel;
import com.csun.cmny.provider.model.vo.ServiceFirstLevelVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OmcServiceFirstLevelService extends IService<OmcServiceFirstLevel> {

    /*
     * 保存服务-一级菜单
     * */
    Integer saveServiceFirstLevel(OmcServiceFirstLevel omcServiceFirstLevelService, LoginAuthDto loginAuthDto, String type);

    /*
     * 查询服务-一级二级菜单
     * */
    List<ServiceFirstLevelVO> listService(ServiceQueryDto serviceQueryDto);

    /*
     * 删除一级菜单
     * */
    int deleteFirstLevel(Long firstLevelId);

    /*
     *
     * */
    PageInfo listPage(ServiceQueryDto serviceQueryDto);

    List<String> selectServiceFirstLevel(List<Long> firstLevelIds);
}
